package com.hlkj.pay.dto.order;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.pay.infrastructure.model.order.OrderFundDetailDO;
import com.hlkj.pay.infrastructure.model.order.PayOrderDO;
import com.hlkj.pay.vo.order.req.PayOrderCommonParamReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author HlpayTeam
 * @date 2024/10/12 11:11
 */
@Data
public class PayOrderChannelResultDto {
	private PayOrderDO updatePayOrderDO;
	@Schema(description = "跳转支付数据")
	private String payInfo;
	
	@Schema(description = "支付数据类型，pay_url-支付链接，pay_url_form-支付链接强制必须跳转（直接访问链接跳转），wx_jspay-微信支付参数(微信公众号,小程序,app支付时)，ali_jspay-支付宝支付参数，ysf_jspay-云闪付支付参数，，bank_info-银行转账参数，code_url-二维码地址codeImg_url-二维码图片地址,none-空支付参数")
	private String payDataType;
	/**
	 * 渠道订单号
	 */
	@Schema(description = "渠道订单号")
	private String channelOrderNo;
	
	/**
	 * 渠道附加订单号
	 */
	@Schema(description = "渠道附加订单号")
	private String channelOrderId;

	/**
	 * 渠道订单号
	 */
	@Schema(description = "机构订单号")
	private String insOrderNo;
	
	/**
	 * 是否处理成功
	 */
	private boolean processStatus=true;
	/**
	 * 回调地址
	 */
	private boolean requestThird=true;
	private PayOrderCommonParamReq.Extra extra;
	/**
	 * 是否处理成功
	 */
	private String remark;

	private List<OrderFundDetailDO> orderFunds;

	private List<PayOrderFundDto> payOrderFundDtoList;

	private String callBackBody;

	@Schema(description = "AUT真实商户号")
	private String autSubMerId;
	@Schema(description = "aut通道编码")
	private String autCode;

	@Schema(description = "是否请求渠道")
	private boolean requestChannel = false;
}
